.dependency-build-issue {
  border: 1px solid $gray-03;
  border-radius: 4px;
  &.no-border {
    border: none;
  }

  .#{$teamix-prefix}collapse-panel-title {
    display: inline-block;
    width: 100%;
    .issue-count {
      float: right;
      margin-right: 20px;
      color: $gray-06;
    }
    .#{$teamix-prefix}icon-arrow-right {
      top: 11px;
    }
  }

  &-list {
    margin: -4px -40px -20px;
    font-size: 14px;
    color: $gray-08;
    line-height: 24px;
    &-item {
      &-suggestion {
        background: rgba(204, 236, 255, 0.5);
        display: flex;
        align-items: center;
        padding: 12px 20px;
        border-bottom: 1px solid $gray-03;
        &-content {
          margin-left: 8px;
          display: flex;
          position: relative;
          flex: 1;
          max-width: calc(100% - 28px);
          .title {
            text-align: left;
            line-height: 20px;
            font-weight: 500;
            font-size: 14px;
            color: $primary-brand;
            flex-shrink: 0;
          }
          .suggestion {
            text-align: left;
            line-height: 20px;
            font-size: 14px;
            color: $gray-08;
            margin-left: 12px;
            flex: 1;
            max-width: calc(100% - 80px);
            &.has-btn {
              max-width: calc(100% - 190px);
            }
          }
          .go-fix-detail {
            position: absolute;
            top: 50%;
            padding: 0;
            transform: translateY(-50%);
            right: 0;
          }
        }
        &-icon i {
          color: $primary-brand;
        }
      }
      &-file {
        display: flex;
        padding: 12px 20px;
        align-items: flex-start;
        border-bottom: 1px solid $gray-02;
        &-left {
          margin-right: 12px;
          width: 78px;
          color: $gray-06;
        }
        &-right {
          width: calc(100% - 68px);
          span {
            // 不可点击跳转，使用$gray-08
            color: $gray-08 !important;
            // color: $primary-brand !important;
            font-weight: normal !important;
          }
        }
      }
      &-detail {
        &-level {
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 10px 20px;
          border-bottom: 1px solid $gray-02;
          // box-shadow: inset 0 -1px 0 0 rgba(220,222,227,0.50);
          &.blocker {
            background: #ffebee;
          }
          &.critical {
            background: #fff7e9;
          }
          &.major {
            background: #ebecf0;
          }
          &:hover {
            background: #f8f8f8 !important;
          }
          &-left {
            flex: 1;
          }
          &-right {
            &-icon {
              color: #999;
            }
          }
        }
        &-items {
          border-bottom: 1px solid $gray-02;
        }

        &-item {
          padding: 0 20px;
          margin-top: 16px;
          &:last-child {
            margin-bottom: 16px;
          }
          display: flex;
          &-left {
            width: 78px;
            padding-right: 12px;
            color: $gray-06;
          }
          &-right {
            width: calc(100% - 68px);
          }
        }
      }
    }
  }
  .next-collapse-panel.next-collapse-panel-expanded {
    .next-collapse-panel-title {
      border-bottom: 1px solid $gray-03;
    }
  }
}
